<template>
  <div style="text-align:center">
    <p>扫描的目录</p>
    <el-table :data="tableData" style="width: 720px;margin:0 auto">
      <el-table-column prop="dir" label="路径" width="600" />
      <el-table-column label="操作" width="120">
        <template #default>
          <el-button type="text" size="small" @click="handleClick"
            >删除</el-button
          >
          <el-button type="text" size="small">编辑</el-button>
        </template>
      </el-table-column>
    </el-table>
    <div>
<br>
    <el-button type="primary">添加路径</el-button>
    <el-button type="primary">恢复默认</el-button>
    </div>
<br>
<br>

<el-divider></el-divider>
<br>
    <el-button type="primary">保存</el-button>

  </div>
</template>
<script>
export default {
  data() {
    return {
      tableData: [
        {
          dir:"T:/search-index/src/components/Setting.vue"
        },
        {
          dir:"T:/seaex/spontting"
        },
      ],
    }
  },
  methods: {
    handleClick() {
      console.log('click')
    },
  },
}
</script>